using UnityEngine;

public class CountrySelectButton : MonoBehaviour
{
	public UISprite countryFlag;

	public UILabel countryName;

	private GameConstants.Country myCountry;

	public void Init(GameConstants.Country country)
	{
		base.gameObject.SetActive(true);
		myCountry = country;
		UITools.ChangeSprite(countryFlag, country.spriteName);
		UITools.ChangeText(countryName, country.countryName);
	}
}
